<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$route['default_controller'] = 'index';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;

$route['logout']            = 'user/logout';
$route['login']             = 'user/login';
$route['passwd']            = 'user/passwd';


$route['place']             = 'index/place';
$route['place/(:any)']      = 'index/place';
$route['get-district']      = 'index/getDistrict';

$route['device']            = 'index/device';
$route['device/(:any)']     = 'index/device';

$route['user']              = 'user/index';
$route['user/(:any)']       = 'user/index';
$route['update-status']     = 'index/updatestatus';
$route['warning']           = 'index/warning';
$route['checkupdate']       = 'index/checkupdate';

$route['report']            = 'index/getReport';

$route['index-get-district'] = 'index/indexgetdistrict';
$route['index-list-district'] = 'index/indexlistdistrict';

$route['device-detail'] = 'index/devicedetail';
$route['device-detail/(:num)'] = 'index/devicedetail';

$route['ajax-update-comment'] =  'index/ajaxupdatecomment';
